const OrgIndex = () => import(/* webpackChunkName: "OrgIndex" */ 'pages/base-manage/org')
const EditOrg = () => import(/* webpackChunkName: "EditOrg" */ 'pages/base-manage/org/edit')

export default [
  {
    path: '/base/org',
    name: 'base-manage.org.index',
    component: OrgIndex,
    meta: {
      title: '企业管理',
      menuPath: '/base/org',
      keepAlive: true,
      auth: true,
      notBreadCrumb: true
    }
  },
  {
    path: '/base/org/add',
    name: 'base-manage.org.add',
    component: EditOrg,
    meta: {
      title: '新增',
      menuPath: '/base/org',
      notMatchedMenu: true,
      auth: true
    }
  },
  {
    path: '/base/org/edit/:id',
    name: 'base-manage.org.edit',
    component: EditOrg,
    meta: {
      title: '编辑',
      menuPath: '/base/org',
      notMatchedMenu: true,
      auth: true
    }
  },
  {
    path: '/base/org/detail/:id',
    name: 'base-manage.org.detail',
    component: EditOrg,
    meta: {
      title: '查看',
      menuPath: '/base/org',
      notMatchedMenu: true,
      auth: true
    }
  }
]
